package com.ruoyi.yuangong.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * paiban对象 paibangaunli
 *
 * @author ruoyi
 * @date 2023-11-08
 */
public class Paibangaunli extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    private Integer id;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Integer userid;

    /**
     * 排班时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paiban;

    /**
     * 班次
     */
    @Excel(name = "班次")
    private String banci;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String beizhu;

    public void setId (Integer id) {
        this.id = id;
    }

    public Integer getId () {
        return id;
    }

    public void setUserid (Integer userid) {
        this.userid = userid;
    }

    public Integer getUserid () {
        return userid;
    }

    public void setPaiban (Date paiban) {
        this.paiban = paiban;
    }

    public Date getPaiban () {
        return paiban;
    }

    public void setBanci (String banci) {
        this.banci = banci;
    }

    public String getBanci () {
        return banci;
    }

    public void setBeizhu (String beizhu) {
        this.beizhu = beizhu;
    }

    public String getBeizhu () {
        return beizhu;
    }

    @Override
    public String toString () {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userid", getUserid())
                .append("paiban", getPaiban())
                .append("banci", getBanci())
                .append("beizhu", getBeizhu())
                .toString();
    }
}
